package com.potenza.training.resume.dao;

import com.potenza.training.resume.entity.ResumeBasicEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * 编辑个人资料
 * 
 * @author lihonggang
 * @email lihonggang@gmail.com
 * @date 2021-07-15 15:52:55
 */
@Mapper
public interface ResumeBasicDao extends BaseMapper<ResumeBasicEntity> {

    @Update(value = "update tb_resume_basic set phone = #{phone} where id = #{id}")
    void updatePhone(Long id, String phone);
}